<style lang="scss" scoped>
    @import "./../css/login.scss";
</style>
<template>
    <div>
        <HeaderCompoent/>
        推荐
    </div>
</template>
<script>
import HeaderCompoent from  './../components/header' ;
import store from './../store/index'
import router from './../router/index';
export default {
  data(){
      return {
          userName:'',
          password:''
      }
  },
  created(){
    // alert('1')
  },
  components:{
    HeaderCompoent
  },
  methods:{
    submitUserInfo(){
        router.push({path: '/edit'})
        return ;
        let params = {
            phone:this.userName,
            password:this.password
        }
        ajax.get({
            url:'/login/cellphone',
            data:params
        }).then((res) => {
            // $.cookie('tokenJsonStr',res.data.bindings.tokenJsonStr);
            // $.cookie('appver','2.0.2')
            // $.cookie('referer',this.password)
            console.log(res)
        })
        .catch((error) => {
            console.log(error)
        })

        // store.commit('increment',params) 
    },
    add(a,b){
        return a + b
    }
  }
}
</script>